package com.sys.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.core.entity.AbstractBusinessEntity;
/**
 *  实体类：规则脚本
 *
 */
@Entity
@Table( 
		uniqueConstraints = {
			@UniqueConstraint(columnNames = {"RULE_TYPE","NAME"})
		}	
	)
public class TB_SYS_RULESCRIPT extends AbstractBusinessEntity{ 
	private static final long serialVersionUID = 1L;
     
	private int RULE_TYPE;// 类型 0：流程 1：规则集
	@Column(length = 100)
	private String NAME;  //名称
	@Column(length = 1000)
	private String EXPLANATIONS ;  //说明 
	@Column(length = 32) 
	private String RULE_FLOW_ID;
	@Column(length=10000)
	private String SCRIPT_CONTENT;//脚本内容 
	public int getRULE_TYPE() {
		return RULE_TYPE;
	}
	public void setRULE_TYPE(int rULE_TYPE) {
		RULE_TYPE = rULE_TYPE;
	}
	public String getNAME() {
		return NAME;
	}
	public void setNAME(String nAME) {
		NAME = nAME;
	}
	public String getEXPLANATIONS() {
		return EXPLANATIONS;
	}
	public void setEXPLANATIONS(String eXPLANATIONS) {
		EXPLANATIONS = eXPLANATIONS;
	}
	public String getRULE_FLOW_ID() {
		return RULE_FLOW_ID;
	}
	public void setRULE_FLOW_ID(String rULE_FLOW_ID) {
		RULE_FLOW_ID = rULE_FLOW_ID;
	}
	public String getSCRIPT_CONTENT() {
		return SCRIPT_CONTENT;
	}
	public void setSCRIPT_CONTENT(String sCRIPT_CONTENT) {
		SCRIPT_CONTENT = sCRIPT_CONTENT;
	}
	 
}
